<?php echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">' ?>
<!-- $HeadURL: http://valaya.googlecode.com/svn/trunk/templates/default/main.php $ -->
<!-- $Id: main.php 19 2010-12-14 22:46:23Z Metal3d $ -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="Generator"
	content="Valaya - Copyright (c) 2010-2011 Valaya Team. All right reserved" />
<meta name="Description" content="C'est mon site !" />
<title><?php echo $this->title?></title>

<link rel="stylesheet/less" href="<?php echo _url('styles/site.less')?>"
	type="text/css" />
<script src="<?php echo _url('js/less.js')?>" type="text/javascript"></script>

<script src="<?php echo _url('js/mootools-core.js')?>"
	type="text/javascript"></script>
<script src="<?php echo _url('js/mootools-more.js')?>"
	type="text/javascript"></script>
<!--[if IE]>
	    <script src="<?php echo _url('js/curvycorners.js')?>" type="text/javascript"></script>
	
		<style type="text/css">
		.ie-shadow {
			display: block;
			position: absolute;
			background: #000;
			filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='8', MakeShadow='true', ShadowOpacity='0.40');
		}
		</style>
		<script>
			window.addEvent('domready', function (){
				var elm = $("main-content");
				var pos = elm.getPosition(elm.getParent());
				var s = new Element('div').set('class', 'ie-shadow');
				
				s.setStyles({
					'width':  elm.getSize().x+'px',
					'height': elm.getSize().y+'px',
					'left'  : (pos.x -8) +'px',
					'top'   : (pos.y-8)+'px'
				});
				s.injectBefore(elm);
			});
		</script>
<![endif]-->

<?php echo $this->head?>
</head>
<body>
<div id="wrapper">
<div id="all-content">
<div id="main-banner">
<h1><?php echo $this->title?></h1>
</div>
<div id="menu"><?php echo $this->menu?></div>
<div id="main-bloc-column"><?php echo Block::get('home/right')?></div>
<div id="main-content"><?php echo $this->content?></div>
<?php echo $this->footer?></div>
</div>

</body>
</html>
